package com.fandy.struts.util;

import java.util.Date;
import java.util.Random;

public class FileNameGenerator {

	public static String generateFileName()
	{
		Date dt = new  Date();
		String Name = String.format("\\%d_%d_%d_", dt.getYear(),dt.getMonth(),dt.getDay()) ;
        Random r = new Random(dt.getTime());
        Name += r.nextLong();
        return Name;
		
	}
	
}
